package cl.ccs.migracionbcmc.util;

import java.io.IOException;

import java.util.Properties;


public class PropertiesManager {


    private Properties props;

    public PropertiesManager(String filename) {
                
        if (props == null) {
            try {
                props = new Properties();
                props.load(this.getClass().getResourceAsStream(filename));
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }

    public Properties getProperties() {
        return props;
    }

}
